scheduling in laravel in custom cron

31

protected function schedule(Schedule $schedule)
    {
        $schedule->call(function () {

        })->->monthlyOn(23, '13:00');
    }
    $schedule->command('command')->when(function (){
        return Carbon::create(2020,4,28,13)->isPast();
    });

Comments

Submit
0 Comments